<%--
  Created by IntelliJ IDEA.
  User: 16014
  Date: 2022/5/14
  Time: 10:13
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java"  isELIgnored="false" %>
<!doctype html>
<html  class="x-admin-sm">
<head>
    <meta charset="UTF-8">
    <title>后台登录-elvt个人博客后台管理系统</title>
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <link href="css/font.css" type="text/css">
    <link rel="stylesheet" href="static/css/login.css" type="text/css">
    <link rel="stylesheet" href="static/css/xadmin.css" type="text/css">
    <script type="text/javascript" src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
    <script type="text/javascript" src="static/js/util.js"></script>
    <script type="text/javascript"  src="static/js/login.js"></script>
    <script src=" static/lib/layui/layui.js" charset="utf-8"></script>
<body class="login-bg">

<div class="login layui-anim layui-anim-up">
    <div class="message">Elvt个人博客后台管理系统</div>
    <div id="darkbannerwrap"></div>

    <form method="post"  action="user" id="loginForm">
        <input type="hidden" name="actionName" value="login">
        <input name="username" id="username" placeholder="请输入用户名或者邮箱"  type="text" lay-verify="required" class="layui-input" value="${returnInfo.username}" >

        <input name="password"  id="password" lay-verify="required" placeholder="密码"  type="password" class="layui-input">
        <hr class="hr15">

        <hr class="hr15">
        <input type="checkbox" name="rem" value="1" checked />记住我
        <hr class="hr15">
        <input name="code"  id="code" lay-verify="required" placeholder="请输入验证码"  type="password" class="layui-input" style="width: 150px">
        <p style="margin-left: 50%; margin-top: -18%" ><img src="${pageContext.request.contextPath}/captcha" width="130px" height="48px" onclick="this.src='${pageContext.request.contextPath}/captcha?d='+new Date()*1" /></p>


        <hr class="hr15">
        <span id="msg" style="color: red">${returnInfo.msg}</span>
        <input value="登录" lay-submit lay-filter="login" style="width:100%;" type="button" id="butt">
        <hr class="hr20" >
    </form>
</div>
<script>

</script>
</body>
</html>